Optimal. Leaf size=43 \[ \frac {1}{16} (3 i+8 x) \sqrt {3 i x+4 x^2}+\frac {9}{64} i \sin ^{-1}\left (1-\frac {8 i x}{3}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {626, 633, 221}
\begin {gather*} \frac {9}{64} i \text {ArcSin}\left (1-\frac {8 i x}{3}\right )+\frac {1}{16} \sqrt {4 x^2+3 i x} (8 x+3 i) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 221
Rule 626
Rule 633
Rubi steps
\begin {align*} \int \sqrt {3 i x+4 x^2} \, dx &=\frac {1}{16} (3 i+8 x) \sqrt {3 i x+4 x^2}+\frac {9}{32} \int \frac {1}{\sqrt {3 i x+4 x^2}} \, dx\\ &=\frac {1}{16} (3 i+8 x) \sqrt {3 i x+4 x^2}+\frac {3}{64} \text {Subst}\left (\int \frac {1}{\sqrt {1+\frac {x^2}{9}}} \, dx,x,3 i+8 x\right )\\ &=\frac {1}{16} (3 i+8 x) \sqrt {3 i x+4 x^2}+\frac {9}{64} i \sin ^{-1}\left (1-\frac {8 i x}{3}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 62, normalized size = 1.44 \begin {gather*} \frac {1}{32} \sqrt {x (3 i+4 x)} \left (6 i+16 x-\frac {9 \log \left (-2 \sqrt {x}+\sqrt {3 i+4 x}\right )}{\sqrt {x} \sqrt {3 i+4 x}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.46, size = 31, normalized size = 0.72
method | result | size |
default | \(\frac {\left (3 i+8 x \right ) \sqrt {4 x^{2}+3 i x}}{16}+\frac {9 \arcsinh \left (i+\frac {8 x}{3}\right )}{64}\) | \(31\) |
risch | \(\frac {\left (3 i+8 x \right ) x \left (3 i+4 x \right )}{16 \sqrt {x \left (3 i+4 x \right )}}+\frac {9 \arcsinh \left (i+\frac {8 x}{3}\right )}{64}\) | \(36\) |
trager | \(\left (\frac {3 i}{16}+\frac {x}{2}\right ) \sqrt {4 x^{2}+3 i x}+\frac {9 \ln \left (440 x +144+165 i-192 i \sqrt {4 x^{2}+3 i x}-384 i x +220 \sqrt {4 x^{2}+3 i x}\right )}{64}\) | \(64\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.52, size = 49, normalized size = 1.14 \begin {gather*} \frac {1}{2} \, \sqrt {4 \, x^{2} + 3 i \, x} x + \frac {3}{16} i \, \sqrt {4 \, x^{2} + 3 i \, x} + \frac {9}{64} \, \log \left (8 \, x + 4 \, \sqrt {4 \, x^{2} + 3 i \, x} + 3 i\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.44, size = 39, normalized size = 0.91 \begin {gather*} \frac {1}{16} \, \sqrt {4 \, x^{2} + 3 i \, x} {\left (8 \, x + 3 i\right )} - \frac {9}{64} \, \log \left (-2 \, x + \sqrt {4 \, x^{2} + 3 i \, x} - \frac {3}{4} i\right ) - \frac {9}{256} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {4 x^{2} + 3 i x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 110 vs. \(2 (27) = 54\).
time = 2.61, size = 110, normalized size = 2.56 \begin {gather*} \frac {1}{32} \, \sqrt {8 \, x^{2} + 2 \, \sqrt {16 \, x^{2} + 9} x} {\left (8 \, x + 3 i\right )} {\left (\frac {3 i \, x}{4 \, x^{2} + \sqrt {16 \, x^{4} + 9 \, x^{2}}} + 1\right )} - \frac {9}{64} \, \log \left (2 \, \sqrt {8 \, x^{2} + 2 \, \sqrt {16 \, x^{2} + 9} x} {\left (\frac {3 i \, x}{4 \, x^{2} + \sqrt {16 \, x^{4} + 9 \, x^{2}}} + 1\right )} - 8 \, x - 3 i\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.09, size = 39, normalized size = 0.91 \begin {gather*} \frac {9\,\ln \left (x+\frac {\sqrt {x\,\left (4\,x+3{}\mathrm {i}\right )}}{2}+\frac {3}{8}{}\mathrm {i}\right )}{64}+\left (\frac {x}{2}+\frac {3}{16}{}\mathrm {i}\right )\,\sqrt {4\,x^2+x\,3{}\mathrm {i}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________